package com.haiya.observer.ratecase;

public class Client {
    public static void main(String[] args) {
        ImportCompany importCompany = new ImportCompany();
        ExportCompany exportCompany = new ExportCompany();
        Rate rate = new RMBRate();
        rate.add(importCompany);
        rate.add(exportCompany);

        rate.change(13);
        rate.change(-10);
    }
}
